import { http } from '@/utils/http';
import type { CustomerType, LoginResultType } from '@/types/login';

/**
 * 登录接口
 */
export const postLogin = (data: LoginResultType) => {
  return http<CustomerType>({
    method: 'POST',
    url: '/medinstrument/site/customer/login',
    data: data,
  });
};
